<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"vchao.top","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta name="description" content="中国加油！武汉加油！  前言开发一个APP，首先应该明确APP想要的功能。本项目基于Bmob进行开发，很多地方需要Bmob相关知识。大家如果没了解过的话，可先自行查看 Bmob开发文档 。 系列文章：手把手带你撸一个校园APP（一）：项目简介手把手带你撸一个校园APP（二）：应用启动和欢迎页面手把手带你撸一个校园APP（三）：用户模块（登录注册等） 功能设计“科师有约” 校园APP 设计的定位是">
<meta property="og:type" content="article">
<meta property="og:title" content="手把手带你撸一个校园APP（四）：APP框架及功能设计">
<meta property="og:url" content="http://vchao.top/2021/08/25/%E6%89%8B%E6%8A%8A%E6%89%8B%E5%B8%A6%E4%BD%A0%E6%92%B8%E4%B8%80%E4%B8%AA%E6%A0%A1%E5%9B%ADAPP%EF%BC%88%E5%9B%9B%EF%BC%89%EF%BC%9AAPP%E5%8A%9F%E8%83%BD%E8%AE%BE%E8%AE%A1%E5%8F%8A%E4%B8%BB%E9%A1%B5%E9%9D%A2%E6%A1%86%E6%9E%B6/index.html">
<meta property="og:site_name" content="乘风破浪">
<meta property="og:description" content="中国加油！武汉加油！  前言开发一个APP，首先应该明确APP想要的功能。本项目基于Bmob进行开发，很多地方需要Bmob相关知识。大家如果没了解过的话，可先自行查看 Bmob开发文档 。 系列文章：手把手带你撸一个校园APP（一）：项目简介手把手带你撸一个校园APP（二）：应用启动和欢迎页面手把手带你撸一个校园APP（三）：用户模块（登录注册等） 功能设计“科师有约” 校园APP 设计的定位是">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2021-08-25T14:42:51.218Z">
<meta property="article:modified_time" content="2021-08-25T14:37:20.811Z">
<meta property="article:author" content="vchao">
<meta property="article:tag" content="Android">
<meta property="article:tag" content="科师有约">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="http://vchao.top/2021/08/25/%E6%89%8B%E6%8A%8A%E6%89%8B%E5%B8%A6%E4%BD%A0%E6%92%B8%E4%B8%80%E4%B8%AA%E6%A0%A1%E5%9B%ADAPP%EF%BC%88%E5%9B%9B%EF%BC%89%EF%BC%9AAPP%E5%8A%9F%E8%83%BD%E8%AE%BE%E8%AE%A1%E5%8F%8A%E4%B8%BB%E9%A1%B5%E9%9D%A2%E6%A1%86%E6%9E%B6/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>手把手带你撸一个校园APP（四）：APP框架及功能设计 | 乘风破浪</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">乘风破浪</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://vchao.top/2021/08/25/%E6%89%8B%E6%8A%8A%E6%89%8B%E5%B8%A6%E4%BD%A0%E6%92%B8%E4%B8%80%E4%B8%AA%E6%A0%A1%E5%9B%ADAPP%EF%BC%88%E5%9B%9B%EF%BC%89%EF%BC%9AAPP%E5%8A%9F%E8%83%BD%E8%AE%BE%E8%AE%A1%E5%8F%8A%E4%B8%BB%E9%A1%B5%E9%9D%A2%E6%A1%86%E6%9E%B6/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="vchao">
      <meta itemprop="description" content="怀揣好奇，梦想改变世界的菜鸟极客">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="乘风破浪">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          手把手带你撸一个校园APP（四）：APP框架及功能设计
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>
              

              <time title="创建时间：2021-08-25 22:42:51 / 修改时间：22:37:20" itemprop="dateCreated datePublished" datetime="2021-08-25T22:42:51+08:00">2021-08-25</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/Android/" itemprop="url" rel="index"><span itemprop="name">Android</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <blockquote>
<p>中国加油！武汉加油！</p>
</blockquote>
<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>开发一个APP，首先应该明确APP想要的功能。<br>本项目基于Bmob进行开发，很多地方需要Bmob相关知识。大家如果没了解过的话，可先自行查看 <a target="_blank" rel="noopener" href="http://doc.bmob.cn/data/android/develop_doc/">Bmob开发文档</a> 。</p>
<p>系列文章：<br><a target="_blank" rel="noopener" href="https://vchao.blog.csdn.net/article/details/80787263">手把手带你撸一个校园APP（一）：项目简介</a><br><a target="_blank" rel="noopener" href="https://vchao.blog.csdn.net/article/details/81456617">手把手带你撸一个校园APP（二）：应用启动和欢迎页面</a><br><a target="_blank" rel="noopener" href="https://blog.csdn.net/zheng_weichao/article/details/81837608">手把手带你撸一个校园APP（三）：用户模块（登录注册等）</a></p>
<h2 id="功能设计"><a href="#功能设计" class="headerlink" title="功能设计"></a>功能设计</h2><p><strong>“科师有约” 校园APP</strong> 设计的定位是 “校园信息聚合平台” ，那就要最大程度上利用学校现有的线上资源，比如学校官网、线上图书馆、微信公众号、微博等信息，并且聚合到我们的APP中，方便学生用户去使用。</p>
<h3 id="功能需求点整理"><a href="#功能需求点整理" class="headerlink" title="功能需求点整理"></a>功能需求点整理</h3><p><strong>通用APP功能</strong>：<br>用户信息，检查更新，意见反馈，关于我们</p>
<p><strong>校园APP功能</strong>：<br>身为校园APP，功能设计就应该从校园生活的方方面面去入手。那么可以总结出来功能点如下：</p>
<p><strong>学习方面</strong>：课程表，掌上图书馆，校历<br><strong>生活方面</strong>：失物招领，二手交易，食堂投诉，后勤保修，宿舍管理，学校建议，校园通讯录等<br><strong>信息方面</strong>：学校官网，通知公告，校园新鲜事，自媒体文章等<br><strong>校园文化方面</strong>：表白墙，图说校园，社团组织</p>
<p>有了基本的功能点，我们就可以对功能点进行下归类安放。</p>
<h3 id="功能归类"><a href="#功能归类" class="headerlink" title="功能归类"></a>功能归类</h3><p>功能点已经总结如上，但是各个功能的使用频次不尽相同。功能归类时，考虑如下：</p>
<ol>
<li>APP主要作用为信息聚合，所以应方便进行各种信息资讯的阅读。因此通知公告，校园新鲜事，自媒体文章等可归类在一起；</li>
<li>食堂投诉，后勤保修，宿舍管理，学校建议等都为学生保障自我权益使用，属于低频次需求，且都需要向学校相关组织反馈信息。可以归类为 “权益保障”；</li>
<li>课程表，掌上图书馆，校历，失物招领，二手交易等属于较高频次的需求，可以放置在首页方便使用；</li>
<li>用户信息，检查更新，意见反馈等通用APP的功能点可以放在一起。</li>
</ol>
<p>因此，APP设计为 底部导航栏 + 页面 形式。<br>共分为“首页”，“新闻”，“我的”三栏。<br><strong>首页</strong>：放置使用频次较高的功能点<br><strong>新闻</strong>：展示新闻列表<br><strong>我的</strong>：放置使用频次较低的功能点以及APP通用功能</p>
<h2 id="主页面"><a href="#主页面" class="headerlink" title="主页面"></a>主页面</h2><p>一般来说，类似的主页面可以采用 RadioGroup + ViewPager +Fragment 来实现。然后给RadioGroup 以及 Viewpager 设置监听事件来制造关联。本项目如此实现也没有问题。</p>
<p>为了提升开发效率，也避免重复创建轮子。项目使用了BottomTabView，在此向作者表示感谢。文章信息如下，大家有兴趣可自行浏览：</p>
<blockquote>
<p>GitHub：<a target="_blank" rel="noopener" href="https://github.com/ifmvo/BottomTabView">BottomTabView</a><br>文章：<a target="_blank" rel="noopener" href="https://blog.ifmvo.cn/2017/05/03/package-bottomtabbaseactivity">Android 快速开发（二），封装一个 BottomTabBaseActivity</a><br>作者：陈序员   <a target="_blank" rel="noopener" href="https://blog.ifmvo.cn/">https://blog.ifmvo.cn</a><br>（但是原文链接访问不了了，下面会讲解下大概的思路逻辑。想了解原理详情的话可以看别人在CSDN转载的文章） <a target="_blank" rel="noopener" href="https://blog.csdn.net/dianziagen/article/details/72478927">https://blog.csdn.net/dianziagen/article/details/72478927</a></p>
</blockquote>
<h3 id="思路逻辑"><a href="#思路逻辑" class="headerlink" title="思路逻辑"></a>思路逻辑</h3><ol>
<li>自定义标签控件 TabItemView，对应布局 view_tab_item.xml，用于显示标签名称以及图标，预设 “选中” 与 “未选中” 两种状态；</li>
<li>自定义底部标签栏 BottomTabView，用来存放 TabItemView，并设置监听事件动态改变其状态，暴露出绑定 Viewpager 的方法；</li>
<li>主页面布局文件（ViewPager + BottomTabView）；</li>
<li>Activity中 BottomTabView 关联绑定 Viewpager；  </li>
<li>ViewPager 绑定Fragment 列表，并设置 PageChangeListener。</li>
</ol>
<p>整体逻辑大概如上所述，当然，自定义控件项目中已经写好，直接复制过来用就好了</p>
<h3 id="使用方法"><a href="#使用方法" class="headerlink" title="使用方法"></a>使用方法</h3><ol>
<li>从项目中复制文件BottomTabView.java，view_tab_item.xml 到对应目录下</li>
<li>搭建主页面布局文件（ViewPager + BottomTabView）<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">LinearLayout</span> <span class="attr">xmlns:android</span>=<span class="string">&quot;http://schemas.android.com/apk/res/android&quot;</span></span></span><br><span class="line"><span class="tag">    <span class="attr">android:layout_width</span>=<span class="string">&quot;match_parent&quot;</span></span></span><br><span class="line"><span class="tag">    <span class="attr">android:layout_height</span>=<span class="string">&quot;match_parent&quot;</span></span></span><br><span class="line"><span class="tag">    <span class="attr">android:orientation</span>=<span class="string">&quot;vertical&quot;</span>&gt;</span></span><br><span class="line"></span><br><span class="line">    <span class="tag">&lt;<span class="name">android.support.v4.view.ViewPager</span></span></span><br><span class="line"><span class="tag">        <span class="attr">android:id</span>=<span class="string">&quot;@+id/viewPager&quot;</span></span></span><br><span class="line"><span class="tag">        <span class="attr">android:layout_width</span>=<span class="string">&quot;match_parent&quot;</span></span></span><br><span class="line"><span class="tag">        <span class="attr">android:layout_height</span>=<span class="string">&quot;0dp&quot;</span></span></span><br><span class="line"><span class="tag">        <span class="attr">android:layout_weight</span>=<span class="string">&quot;1&quot;</span> /&gt;</span></span><br><span class="line">    </span><br><span class="line">    <span class="comment">&lt;!-- 改为你的对应目录 --&gt;</span></span><br><span class="line">    <span class="tag">&lt;<span class="name">top.vchao.hnust.view.BottomTabView</span></span></span><br><span class="line"><span class="tag">        <span class="attr">android:id</span>=<span class="string">&quot;@+id/bottomTabView&quot;</span></span></span><br><span class="line"><span class="tag">        <span class="attr">android:layout_width</span>=<span class="string">&quot;match_parent&quot;</span></span></span><br><span class="line"><span class="tag">        <span class="attr">android:layout_height</span>=<span class="string">&quot;50dp&quot;</span></span></span><br><span class="line"><span class="tag">        <span class="attr">android:gravity</span>=<span class="string">&quot;bottom&quot;</span> /&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">LinearLayout</span>&gt;</span></span><br></pre></td></tr></table></figure></li>
<li>初始化 Fragment列表 并与 ViewPager 绑定；<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">// 初始化 fragment 列表</span></span><br><span class="line">List&lt;Fragment&gt; fragments = <span class="keyword">new</span> ArrayList&lt;&gt;();</span><br><span class="line">fragments.add(<span class="keyword">new</span> TabHomeFragment());</span><br><span class="line">fragments.add(<span class="keyword">new</span> TabNewsFragment());</span><br><span class="line">fragments.add(<span class="keyword">new</span> TabMyFragment());</span><br><span class="line"></span><br><span class="line">adapter = <span class="keyword">new</span> FragmentPagerAdapter(getSupportFragmentManager()) &#123;</span><br><span class="line">    <span class="meta">@Override</span></span><br><span class="line">    <span class="function"><span class="keyword">public</span> Fragment <span class="title">getItem</span><span class="params">(<span class="keyword">int</span> position)</span> </span>&#123;</span><br><span class="line">        <span class="keyword">return</span> fragments.get(position);</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="meta">@Override</span></span><br><span class="line">    <span class="function"><span class="keyword">public</span> <span class="keyword">int</span> <span class="title">getCount</span><span class="params">()</span> </span>&#123;</span><br><span class="line">        <span class="keyword">return</span> fragments.size();</span><br><span class="line">    &#125;</span><br><span class="line">&#125;;</span><br><span class="line"></span><br><span class="line">viewPager.setAdapter(adapter);</span><br></pre></td></tr></table></figure></li>
<li>初始化标签列表，并将 BottomTabView 与 Viewpager 关联绑定。<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">List&lt;BottomTabView.TabItemView&gt; tabItemViews = <span class="keyword">new</span> ArrayList&lt;&gt;();</span><br><span class="line">tabItemViews.add(<span class="keyword">new</span> BottomTabView.TabItemView(<span class="keyword">this</span>, <span class="string">&quot;首页&quot;</span>, R.color.colorPrimary,</span><br><span class="line">                R.color.colorAccent, R.mipmap.main_home_nor, R.mipmap.main_home_pre));</span><br><span class="line">tabItemViews.add(<span class="keyword">new</span> BottomTabView.TabItemView(<span class="keyword">this</span>, <span class="string">&quot;新闻&quot;</span>, R.color.colorPrimary,</span><br><span class="line">                R.color.colorAccent, R.mipmap.main_buy_nor, R.mipmap.main_buy_pre));</span><br><span class="line">tabItemViews.add(<span class="keyword">new</span> BottomTabView.TabItemView(<span class="keyword">this</span>, <span class="string">&quot;我的&quot;</span>, R.color.colorPrimary,</span><br><span class="line">                R.color.colorAccent, R.mipmap.main_user_nor, R.mipmap.main_user_pre));</span><br><span class="line"></span><br><span class="line">bottomTabView.setTabItemViews(tabItemViews);</span><br><span class="line">bottomTabView.setUpWithViewPager(viewPager);</span><br></pre></td></tr></table></figure></li>
</ol>
<p>至此，主页面搭建完毕。<br>（项目代码正在整理，估计将会在一周内放到 github 上，等源码的同学稍安勿躁哈~~）</p>
<p>如果本文对你有所帮助，还望可以随手赏一个点赞哈 ~ ~</p>

    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/Android/" rel="tag"># Android</a>
              <a href="/tags/%E7%A7%91%E5%B8%88%E6%9C%89%E7%BA%A6/" rel="tag"># 科师有约</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2021/08/25/%E6%89%8B%E6%8A%8A%E6%89%8B%E5%B8%A6%E4%BD%A0%E6%92%B8%E4%B8%80%E4%B8%AA%E6%A0%A1%E5%9B%ADAPP%EF%BC%88%E5%85%AD%EF%BC%89%EF%BC%9A%E5%A4%B1%E7%89%A9%E6%8B%9B%E9%A2%86&%E4%BA%8C%E6%89%8B%E4%BA%A4%E6%98%93%E6%A8%A1%E5%9D%97/" rel="prev" title="手把手带你撸一个校园APP（六）：失物招领&二手交易模块">
      <i class="fa fa-chevron-left"></i> 手把手带你撸一个校园APP（六）：失物招领&二手交易模块
    </a></div>
      <div class="post-nav-item">
    <a href="/2021/08/25/%E6%89%8B%E6%9C%BA%E8%AE%BF%E9%97%AE%E7%94%B5%E8%84%91%E4%B8%AD%E9%83%A8%E7%BD%B2%E7%9A%84tomcat%E5%BA%94%E7%94%A8/" rel="next" title="手机访问电脑中部署的tomcat应用">
      手机访问电脑中部署的tomcat应用 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%89%8D%E8%A8%80"><span class="nav-number">1.</span> <span class="nav-text">前言</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%8A%9F%E8%83%BD%E8%AE%BE%E8%AE%A1"><span class="nav-number">2.</span> <span class="nav-text">功能设计</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E7%82%B9%E6%95%B4%E7%90%86"><span class="nav-number">2.1.</span> <span class="nav-text">功能需求点整理</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%8A%9F%E8%83%BD%E5%BD%92%E7%B1%BB"><span class="nav-number">2.2.</span> <span class="nav-text">功能归类</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E4%B8%BB%E9%A1%B5%E9%9D%A2"><span class="nav-number">3.</span> <span class="nav-text">主页面</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E6%80%9D%E8%B7%AF%E9%80%BB%E8%BE%91"><span class="nav-number">3.1.</span> <span class="nav-text">思路逻辑</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95"><span class="nav-number">3.2.</span> <span class="nav-text">使用方法</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">vchao</p>
  <div class="site-description" itemprop="description">怀揣好奇，梦想改变世界的菜鸟极客</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">46</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
        <span class="site-state-item-count">4</span>
        <span class="site-state-item-name">分类</span>
      </div>
      <div class="site-state-item site-state-tags">
        <span class="site-state-item-count">27</span>
        <span class="site-state-item-name">标签</span>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        
  <div class="beian"><a href="https://beian.miit.gov.cn/" rel="noopener" target="_blank">冀ICP备 17022751号-1 </a>
      <img src="https://beian.miit.gov.cn" style="display: inline-block;">
  </div>

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">vchao</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  















  

  

</body>
</html>
